ElasticPress\Elasticsearch D

Total Complexity 188
Dependencies 3
Dependents 24
Total lines 1,726
Lines of code 715
Logical lines of code 382
Comment lines 733
Methods 41
Properties 4

Methods 41

Method Rating Maintainability Complexity Lines of code
set_elasticsearch_info()
B
39 23 60
query()
A
38 13 67
remote_request()
A
40 13 54
get_documents()
A
48 8 31
parse_api_response()
A
51 8 28
get_index_total_fields_limit()
S
53 7 23
get_index_names()
S
54 7 19
create_network_alias()
S
51 6 27
index_exists()
S
58 6 15
is_empty_query()
S
59 6 15
put_mapping()
S
52 5 23
create_pipeline()
S
54 5 20
update_index_settings()
S
55 5 19
format_request_headers()
S
56 5 18
get_document()
S
55 5 17
get_mapping()
S
57 5 16
index_document()
S
49 4 31
delete_document()
S
54 4 21
bulk_index()
S
53 4 21
get_pipeline()
S
55 4 19
add_query_log()
S
69 5 6
delete_index()
S
60 4 12
cache_elasticsearch_info()
S
55 3 23
get_cluster_status()
S
56 3 18
delete_network_alias()
S
62 4 10
refresh_indices()
S
62 4 10
add_elasticpress_version_to_user_agent()
S
62 2 11
factory()
S
69 2 7
get_index_settings()
S
63 2 10
close_index()
S
64 2 9
get_hits_from_query()
S
70 2 6
get_total_hits_from_query()
S
71 2 6
open_index()
S
64 2 9
get_query_log()
S
82 1 3
delete_all_indices()
S
80 1 3
get_elasticsearch_info()
S
67 1 8
get_elasticsearch_plugins()
S
74 1 4
get_server_type()
S
74 1 4
get_elasticsearch_version()
S
74 1 4
parse_site_id()
S
78 1 3
get_cluster_indices()
S
72 1 5